 <?php 

$username = $_GET['username'];

include("../db/opendb.php");

include("functions.php");

$id = get_id($username);

$query = "select * from Network_Groups where Owner = '".$id."'";

$result = mysql_query($query) or die ("SQL Error".mysql_error());

$xml = getXML($result);

echo $xml;

?>
